package com.songjiakang.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Money {
	private Integer id          ;
	private String code        ;
	private Integer name        ;
	private Integer companyId  ;
	private Integer businessId ;
	private Integer deptId     ;
	private Double account     ;
	private String bills       ;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date createtime  ;
	//添加的
	private String people;
	private String company ;
	private String business ;
	private String dept    ;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public Integer getName() {
		return name;
	}
	public void setName(Integer name) {
		this.name = name;
	}
	public Integer getCompanyId() {
		return companyId;
	}
	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}
	public Integer getBusinessId() {
		return businessId;
	}
	public void setBusinessId(Integer businessId) {
		this.businessId = businessId;
	}
	public Integer getDeptId() {
		return deptId;
	}
	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}
	public Double getAccount() {
		return account;
	}
	public void setAccount(Double account) {
		this.account = account;
	}
	public String getBills() {
		return bills;
	}
	public void setBills(String bills) {
		this.bills = bills;
	}
	public Date getCreatetime() {
		return createtime;
	}
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	public String getPeople() {
		return people;
	}
	public void setPeople(String people) {
		this.people = people;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getBusiness() {
		return business;
	}
	public void setBusiness(String business) {
		this.business = business;
	}
	public String getDept() {
		return dept;
	}
	public void setDept(String dept) {
		this.dept = dept;
	}
	@Override
	public String toString() {
		return "Money [id=" + id + ", code=" + code + ", name=" + name
				+ ", companyId=" + companyId + ", businessId=" + businessId
				+ ", deptId=" + deptId + ", account=" + account + ", bills="
				+ bills + ", createtime=" + createtime + ", people=" + people
				+ ", company=" + company + ", business=" + business + ", dept="
				+ dept + "]";
	}
	public Money(Integer id, String code, Integer name, Integer companyId,
			Integer businessId, Integer deptId, Double account, String bills,
			Date createtime, String people, String company, String business,
			String dept) {
		super();
		this.id = id;
		this.code = code;
		this.name = name;
		this.companyId = companyId;
		this.businessId = businessId;
		this.deptId = deptId;
		this.account = account;
		this.bills = bills;
		this.createtime = createtime;
		this.people = people;
		this.company = company;
		this.business = business;
		this.dept = dept;
	}
	public Money() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
	
	
}
